import type { Client } from './model';

import type { PageResult } from '#/api/common';

import { requestClient } from '#/api/request';

enum Api {
  memoryList = '/system/system/aiChat/chatMemory',
  clientList = '/system/system/client/list',
  root = '/system/system/client',
}

/**
 * 查询
 * @param params 请求参数
 * @returns 列表
 */
export function memoryList() {
  return requestClient.get<PageResult<Client>>(Api.memoryList);
}
